<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
  String xm = this.getServletContext().getInitParameter("path");
	String path1 = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/"+xm;
%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>修改开盘</title>
<base target="_self" />

<link href="<%=path1%>/ht/Styles/css.css"
	rel="stylesheet" type="text/css" />
<link href="<%=path1%>/ht/Styles/ts_css.css"
	rel="stylesheet" type="text/css" />
<script
	src="<%=path1%>/ht/Scripts/My97DatePicker/WdatePicker.js"
	type="text/javascript"></script>
<script
	src="<%=path1%>/ht/Scripts/jquery-1.4.1.min.js"
	type="text/javascript"></script>
<script
	src="<%=path1%>/ht/Scripts/IndexManager.js"
	type="text/javascript"></script>

<script type="text/javascript">
	function page_Close() {
		if (window.parent != null) {
			window.paraent.close();
		} else {
			window.close();
		}
	}
</script>
<script type="text/javascript">
      var prices=$("#mysel");
      prices.data("last",prices.val()).change(function(){
    	  var oldvalue=prices.data("last");
    	  alert("111:"+oldvalue);
    	  var newvalue=mysel.val();
    	  alert("222:"+newvalue);
      })
</script>
</head>
<body>
	<form method="post" action="<%=path1%>/ht/report/update" id="form1">
		<div id="divTwo">
			<table width="100%" border="0" cellpadding="2" cellspacing="2"
				class="table_list1">
				<h2 align="center">修改开盘信息</h2>
				<tr>
					<td width="20%" class="table_list1_style1">
						<p></p> <span style="color: Red">*</span> 开盘类型:
					</td>
					<td width="50%" class="table_list1_style2"><input
						name="report_type" id="report_type" type="text" id="txtLeved"
						value="${openings.report_type}" class="aspNetDisabled"
						style="width: 200px; height: 18px" /></td>
				</tr>

				<tr>
					<td width="20%" class="table_list1_style1">
						<p></p> <span style="color: Red">*</span> 开盘名称:
					</td>
					<td width="50%" class="table_list1_style2"><input
						name="opening_report_name" id="opening_report_name" type="text" id="txtLeved"
						value="${openings.opening_report_name}" class="aspNetDisabled"
						style="width: 200px; height: 18px" /></td>
				</tr>

				<!-- 取ID的值  不需要显示 -->
				<input name="opening_report_id" id="opening_report_id" type="hidden"
					value="${openings.opening_report_id}" />
				<tr>
					<td width="20%" class="table_list1_style1">
						<p></p> <span style="color: Red">*</span> 计价方式:
					</td>
					<td width="50%" class="table_list1_style2"><input
						type="hidden" value="${openings.price_type}" />
					<select id="prices" class="aspNetDisabled" name="prices" style="width: 200px; height: 18px">
                            <option value="建筑面积" lev="1">建筑面积</option>
						    <option value="套内面积" lev="2">套内面积</option>
							<option value="套" lev="3">套</option>
					</select></td>
				</tr>
				

				<input type="text" name="update_user" id="update_user"
					value="${bean.name}" />
				</td>

					<td width="50%" class="table_list1_style2"><input
						type="hidden" name="update_time" id="update_time"
						value="${openings.update_time}" style="width: 200px; height: 24px" /></td>


				<tr>
					<td class="table_list1_style1">&nbsp;</td>
					<td class="table_list1_style2">
						<p></p> <input type="submit" id="send" name="btnAdd" value="修改"
						tabindex="1" class="button" /> &nbsp;&nbsp; <input id="btnBack"
						type="button" class="button" value="关闭" onclick="page_Close()" />
					</td>
				</tr>

			</table>
		</div>
	</form>
</body>
</html>